﻿using SqlSugar;

namespace AhCha.Fortunate.Entity.DaMeng
{
    ///<summary>
    ///
    ///</summary>
   
    [SugarTable("ApiExceptionLog")]
    [TenantAttribute(ConstConfigId.DMAhChaFortunate)]
    public partial class ApiExceptionLog
    {
        public ApiExceptionLog()
        {


        }
        /// <summary>
        /// Desc:主键
        /// Default:
        /// Nullable:False
        /// </summary>           
        [SugarColumn(IsPrimaryKey = true)]
        public long Id { get; set; }

        /// <summary>
        /// Desc:Controller名称
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string? ControllerName { get; set; }

        /// <summary>
        /// Desc:接口名称
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string? ActionName { get; set; }

        /// <summary>
        /// Desc:调用时间
        /// Default:
        /// Nullable:True
        /// </summary>           
        public DateTime? CreateTime { get; set; }

        /// <summary>
        /// Desc:用户ip地址
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string? Ip { get; set; }

        /// <summary>
        /// Desc:异常记录
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string? ExceptionText { get; set; }

        /// <summary>
        /// Desc:用户id
        /// Default:
        /// Nullable:True
        /// </summary>           
        public long? CreateUserId { get; set; }

    }
}
